function Person() {
  if(!new.target) {
    throw new Error('不能直接调用')
  }else {
    console.log('你好will')
  }
}
new Person()